package com.grandtech.insurance.dao;

import com.grandtech.insurance.domain.DbKhxx;
import com.grandtech.insurance.domain.DbZpsx;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DbZpsxDAO {
    int deleteByPrimaryKey(String id);

    int insert(DbZpsx record);

    int insertSelective(DbZpsx record);

    DbZpsx selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(DbZpsx record);

    int updateByPrimaryKey(DbZpsx record);

    //根据客户身份证号和项目编码查询客户照片信息
    List<DbZpsx> getDbZpsxByIdcodeAndXmbm(DbKhxx param);
    List<DbZpsx> getDbZpsxByIdcodeAndXmbm1(DbKhxx param);
    //根据客户身份证号和项目编码删除客户照片信息
    int deleteDbZpsxByIdcodeAndXmbm(DbKhxx param);

    String getLastZP(DbZpsx param);

    List<Boolean> getZpYzList(DbZpsx param);

    List<DbZpsx> yczpList(DbZpsx param);

    List<DbZpsx> yczpList1(DbZpsx param);
}












